<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Logout extends MY_Controller {

    private $data;
    
    function __construct() {
        parent::__construct();
    }

    function index() {
        $this->session->unset_userdata("logged_in");
        redirect(base_url().'home', 'refresh');
    }

}

